package com.bw.service;

import com.bw.mapper.WeekMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class WeekServiceImp implements WeekService{
    @Autowired
    WeekMapper weekMapper;
    @Override
    public List<Map> findCount() {
        return weekMapper.findCount();
    }

    @Override
    public List<Map> findTotal() {
        return weekMapper.findTotal();
    }

    @Override
    public List<Map> findSum(String money) {
        return weekMapper.findSum(money);
    }

    @Override
    public List<Map> findJu() {
        return weekMapper.findJu();
    }

    @Override
    public List<Map> findMax() {
        return weekMapper.findMax();
    }
}
